

package Memoir 
{
	import org.flixel.*;
	import Main.*;
	
	/**
	 * Level 1: Bar
	 */
	public class PlayStateBar extends PlayState
	{
		[Embed(source = '../Assets/barscene.png')] private var BarImg:Class;
		private var posterHS:Hotspot=new Hotspot(529,32,108,119,Main.Memoir.POSITIVE,"Oh, it's a Beatles poster. My mother secretly loved that band.");
		private var cheersHS:Hotspot=new Hotspot(488,188,100,182,Main.Memoir.POSITIVE, "I like this picture of a father and son together.");
		private var janitorHS:Hotspot=new Hotspot(622,307,150,162,Main.Memoir.NEUTRAL,"That janitor looks so young. Do you think he's a dropout?");
		private var lonelyHS:Hotspot=new Hotspot(25,289,111,118,Main.Memoir.NEGATIVE,"That boy sitting by himself looks like my first boyfriend.");
	
		

		
		private var level:int = 1;
		private var hotSpots:Array=new Array(posterHS,cheersHS,janitorHS,lonelyHS);
		
		public function PlayStateBar() {
			super(level);	
		}
		
		
		public override function addBackground():void {
			this.add(new FlxSprite(0,0,BarImg));	
			
		}
		
		
		public override function getLvlTxt():String {
			return "Day 2:" + '\n' +
				"Bo's Bar";
		}
		
		public override function getPrompt():String {
			return "\"Get me a picture of discontent.\"";
		}
		
		public override function getBackground():Object{
			return new BarImg();
		}
		
		public override function getHotSpots():Array {
			return hotSpots;
		}
		
	}
}